summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2022-10-21 08:34:05 +0200
committerMorph <39850852+Morph1984@users.noreply.github.com>2022-10-22 21:02:04 +0200
commit496695618a14d8e850fdd38c1b4e5159ee674bf5 (patch)
tree9a6f40d4875067fcfa32e6582ea8b91a3cb1c493
parentMerge pull request #9095 from FernandoS27/meat-good-vegetable-bad (diff)
downloadyuzu-496695618a14d8e850fdd38c1b4e5159ee674bf5.tar
yuzu-496695618a14d8e850fdd38c1b4e5159ee674bf5.tar.gz
yuzu-496695618a14d8e850fdd38c1b4e5159ee674bf5.tar.bz2
yuzu-496695618a14d8e850fdd38c1b4e5159ee674bf5.tar.lz
yuzu-496695618a14d8e850fdd38c1b4e5159ee674bf5.tar.xz
yuzu-496695618a14d8e850fdd38c1b4e5159ee674bf5.tar.zst
yuzu-496695618a14d8e850fdd38c1b4e5159ee674bf5.zip
-rw-r--r--src/CMakeLists.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 3575a3cb3..3b4862737 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -99,8 +99,9 @@ if (MSVC)
set(CMAKE_EXE_LINKER_FLAGS_RELEASE "/DEBUG /MANIFEST:NO /INCREMENTAL:NO /OPT:REF,ICF" CACHE STRING "" FORCE)
else()
add_compile_options(
- -Wall
+ -Werror=all
-Werror=array-bounds
+ -Werror=extra
-Werror=implicit-fallthrough
-Werror=missing-declarations
-Werror=missing-field-initializers
@@ -112,8 +113,7 @@ else()
-Werror=unused-function
-Werror=unused-result
-Werror=unused-variable
- -Wextra
- -Wmissing-declarations
+
-Wno-attributes
-Wno-invalid-offsetof
-Wno-unused-parameter